home *** CD-ROM | disk | FTP | other *** search
-
-
-
- WEEKLYDUMP User Commands WEEKLYDUMP
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- weeklydump - Script to do weekly fully dumps
-
- SSYYNNOOPPSSIISS
- wweeeekkllyydduummpp [--ii] [_s_t_a_r_t_F_s]
-
- OOPPTTIIOONNSS
- _s_t_a_r_t_F_s Start dumping with the named filesystem.
-
- -i Initialize the tape drives first with ``dump
- -s''.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- This script does full (level 0) dumps of all the filesystems
- that are normally backed up. It is normally invoked manu-
- ally over the weekend.
-
- The script has hard-coded a list of tape devices. It dumps
- filesystems onto the first tape until it gets an error. It
- then continues with the second tape until the next error,
- etc. If it runs out of tapes before all the filesystems
- have been dumped, it sends mail to the user dduummppeerr with the
- name of the first filesystem in the list that has yet to be
- dumped.
-
- The list of filesystems to dump is contained in
- //sspprriittee//aaddmmiinn//dduummpp//dduummpplliisstt. If wweeeekkllyydduummpp is invoked with
- the name of a filesystem, it starts with that filesystem,
- skipping over the filesystems that appear before it in the
- list. If wweeeekkllyydduummpp is not given the name of a filesystem,
- it looks for the starting filesystem in
- //sspprriittee//aaddmmiinn//dduummpp//ddooiinnggwweeeekkllyy. If that file is empty,
- wweeeekkllyydduummpp simply starts at the top of the list.
-
- WWeeeekkllyydduummpp puts the name of the current user in
- //sspprriittee//aaddmmiinn//dduummpp//dduummppaalliiaass. Mail sent to the ``dumper''
- alias is sent to the user named in this file. WWeeeekkllyydduummpp
- also creates the file //sspprriittee//aaddmmiinn//dduummpp//ddooiinnggwweeeekkllyy, which
- disables the daily dumps. This file is removed when the
- weekly dumps complete.
-
- If wweeeekkllyydduummpp detects an error, it sends mail to dduummppeerr and
- exits. It also creates a status file, so that if the
- machine running the weekly dumps crashes while the dumps are
- running, mail will be sent to dduummppeerr when the machine
- reboots, telling about the crash.
-
- If wweeeekkllyydduummpp is invoked with the --ii flag, it will initial-
- ize the tapes in both tape drives before starting.
-
-
-
- Sprite v.1.0 Printed: September 28, 1991 1
-
-
-
-
-
-
- WEEKLYDUMP User Commands WEEKLYDUMP
-
-
-
- FFIILLEESS
- All the following files are in /sprite/admin/dump:
-
- doingweekly lock file to prevent daily dump from running.
- Names the filesystem currently being dumped.
-
- doingweekly.active
- status file used to detect crashes. Contains
- the name of the host running the dumps.
-
- dumpalias User name of the current dumper, for error
- and status messages.
-
- dumpdates list of filesystems dumped, at what time,
- what tape, etc.
-
- dumplist list of file systems to dump.
-
- dumplog very large status log from the dump programs
-
- tapelist list of tape devices uses for the dump
-
-
- KKEEYYWWOORRDDSS
- dump, tape, backup
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: September 28, 1991 2
-
-
-
-